package com.cloudwise.service;

import com.cloudwise.entity.Tester;
import com.cloudwise.entity.TesterVo;

import java.util.List;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2021/11/29 15:31
 * @description：测试者业务接口
 * @modified By：
 * @version: 1.0
 */
public interface TesterService {
    /**
     * @create by: Teacher陈（86521760@qq.com）
     * @description: 保存测试者信息
     * @create time: 2021/11/29 15:22
     * @param tester
     * @return  int
     */
    boolean saveTester(Tester tester);
    /**
     * @create by: Teacher陈（86521760@qq.com）
     * @description: 按照主键删除
     * @create time: 2021/11/29 15:22
     * @param id
     * @return  int
     */
    int deleteTester(Integer id);
    boolean deleteTesterByIds(List<Long> idList);
    int updateTester(Tester tester);
    Tester selectTesterById(Integer id);
   // List<Tester> selectAllTester(Long page  ,Long limit,Tester tester);
    List<TesterVo> selectAllTester(Long page  , Long limit, Tester tester);
    Long getCount( Tester tester);

    boolean checkPhone(String phone);

    void deleteNoResult();

}
